//var Shader = require("../../resources/shader/shader.js");
var ShaderUtils = require("ShaderUtils");
cc.Class({
    extends: cc.Component,

    properties: {
        img:cc.Sprite,
    },

    // use this for initialization
    onLoad: function () {
        // var node = cc.find("LoginBg/login_enterBtn", this.node);
        // var actionBy = cc.rotateBy(12, 360);
        // node.runAction(cc.repeatForever(actionBy));
       // Shader.setGLProgram(this.img, "GreyShader");
        ShaderUtils.setShader(this.img, "gray")
    },   
});
